﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// AutoMapping.cs
using AutoMapper;
using bookmeetingroom.Data.Entities;
using bookmeetingroom.Models;
namespace BookMeetingRoom.Helper
{


    public class AutoMapping : Profile
    {
        public AutoMapping()
        {
            CreateMap<MeetingRoomModel, MeetingRoom>();
            CreateMap<MeetingRoom, MeetingRoomModel>();
            CreateMap<BuildingModel, Building>();
            CreateMap<Building, BuildingModel>();
        }
    }
}
